﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="WorkHourControl.ascx.vb" Inherits="WebForm_ManageMOIExport_WorkHourControl" %>
<My:MyGridView ID="gv" runat="server" SkinID="pager" meta:resourcekey="gv" AllowPaging="True"
                AllowHoverSelect="False" DataKeyNames="VolunteerID"
                AllowHoverEffect="True" 
                MySortExpression="VolunteerID" >
                <Columns>
                    <asp:BoundField DataField="VolunteerName" meta:resourcekey="bfVolunteerName"  />
                        <My:VolunteerIDBoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"
                        ReadOnly="True" />
<%--                    <asp:BoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"  />
--%>                    <asp:TemplateField meta:resourcekey="bfWorkStartDate">
                        <itemtemplate>
                            <asp:Label runat="server" Text='<%# Bind("WorkStartDate") %>' ID="lblWorkStartDate"></asp:Label>
                        </itemtemplate>
                    </asp:TemplateField>
                    <asp:TemplateField meta:resourcekey="bfWorkEndDate">
                        <itemtemplate>
                            <asp:Label runat="server" Text='<%# Bind("WorkEndDate") %>' ID="lblWorkEndDate"></asp:Label>
                        </itemtemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="WorkItem" meta:resourcekey="bfWorkItem" />
                    <asp:BoundField DataField="WorkContent" meta:resourcekey="bfWorkContent" />
                    <asp:BoundField DataField="NumPeople" meta:resourcekey="bfNumPeople" />
                    <asp:BoundField DataField="WorkHour" meta:resourcekey="bfWorkHour" />
                    <asp:BoundField DataField="TCharge" meta:resourcekey="bfTCharge" />
                    <asp:BoundField DataField="ECharge" meta:resourcekey="bfECharge" />
                    <asp:BoundField DataField="SArea" meta:resourcekey="bfSArea" />
                    <asp:BoundField DataField="Remark" meta:resourcekey="bfRemark" />
                </Columns>
            </My:MyGridView>